package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDTO;
import com.zzyl.dto.NursingLevelPageDto;
import com.zzyl.vo.NursingLevelVO;

import java.util.List;

public interface NursingLevelService {
    /**
     * 查询所有护理的等级
     * @return
     */
    List<NursingLevelVO> selectAll();

    /**
     * 条件分页查询护理计划
     * @param nursingLevelPageDto
     * @return
     */
    PageResponse<NursingLevelVO> pageCondition(NursingLevelPageDto nursingLevelPageDto);

    /**
     * 插入新护理等级
     * @param nursingLevelDTO
     */
    void insert(NursingLevelDTO nursingLevelDTO);

    /**
     * 根据ID查询护理等级
     * @param id
     * @return
     */
    NursingLevelVO getById(Long id);

    /**
     * 修改护理等级
     * @param nursingLevelDTO
     */
    void update(NursingLevelDTO nursingLevelDTO);

    /**
     * 删除护理等级
     * @param id
     */
    void delete(Long id);

    /**
     * 修改护理等级状态
     * @param id
     * @param status
     */
    void changeStatus(Long id, Integer status);

}
